//bankAccount.h
/********************************************************************************
*																				*
*	Author:			Jared Szechy												*
*	Assignment:		Assignment 3												*
*	Class:			CPS-151														*
*	Instructor:		V. Starkley													*
*	Due Date:		September 20												*
*																				*
*	This file declares the BankAccount class.									*
*																				*
********************************************************************************/

#ifndef BANKACCOUNT_H
#define BANKACCOUNT_H

#include <string>
using namespace std;


class BankAccount
{
	public:
		
		//constructor
		BankAccount();
	
		//accessors
		string getFirstName();
		//pre: none
		//post: returns firstName

		string getLastName();
		//pre: none
		//post: returns lastName

		string getAccountNumber();
		//pre: none
		//post: returns accountNumber

		double getAccountBalance();
		//pre: none
		//post: returns accountBalance

		//mutators
		void setFirstName(string firstName);
		//pre: none
		//post: sets firstName equal to the passed variable

		void setLastName(string lastName);
		//pre: none
		//post: sets lastName equal to the passed variable

		void setAccountNumber(string number);
		//pre: none
		//post: sets accountNumber equal to the passed variable

		void setAccountBalance(double balance);
		//pre: none
		//post: sets accountBalance equal to the passed variable

		//overload operators
		bool operator == (BankAccount& item) const;
		//pre: none
		//post: returns true if account numbers match
		
		bool operator != (BankAccount& item) const;
		//pre: none
		//post: returns true if account numbers don't match

		bool operator < (BankAccount& item) const;
		//pre: none
		//post: returns true if account number is less than 
		//		the passed account number

		bool operator <= (BankAccount& item) const;
		//pre: none
		//post: returns true if account number is less than
		//		or equal to the passed account number

		bool operator > (BankAccount& item) const;
		//pre: none
		//post: returns true if account number is greater than 
		//		the passed account number

		bool operator >= (BankAccount& item) const;
		//pre: none
		//post: returns true if account number is greater than 
		//		or equal to the passed account number

	private:

		string firstName;
		string lastName;
		string accountNumber;
		double accountBalance;
};

#endif